// testforocxDlg.h : header file
//
//{{AFX_INCLUDES()
#include "psserver.h"
//}}AFX_INCLUDES

#if !defined(AFX_TESTFOROCXDLG_H__070297D3_D0A5_11D6_835A_00E04CFC0259__INCLUDED_)
#define AFX_TESTFOROCXDLG_H__070297D3_D0A5_11D6_835A_00E04CFC0259__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

/////////////////////////////////////////////////////////////////////////////
// CTestforocxDlg dialog

class CTestforocxDlg : public CDialog
{
// Construction
public:
	CTestforocxDlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	//{{AFX_DATA(CTestforocxDlg)
	enum { IDD = IDD_TESTFOROCX_DIALOG };
	CListBox	m_ReceList;
	CPSServer	m_PsServer;
	int		m_Address;
	int		m_Baud;
	BOOL	m_OutputState;
	BOOL	m_PcControl;
	int		m_Port;
	int		m_PowMax;
	int		m_VolMax;
	int		m_VolSet;
	int		m_CurMax;
	CString	m_Rece;
	//}}AFX_DATA

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CTestforocxDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CTestforocxDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnOpenComm();
	afx_msg void OnCloseComm();
	afx_msg void OnStateControl();
	afx_msg void OnSetting();
	afx_msg void OnRead();
	afx_msg void OnReceivePsserver1();//receive data event
	afx_msg void OnAbout();
	DECLARE_EVENTSINK_MAP()
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_TESTFOROCXDLG_H__070297D3_D0A5_11D6_835A_00E04CFC0259__INCLUDED_)
